import type { TranslationType } from './types';

export const zh: TranslationType = {
  title: "VoiceCanvas",
  inputPlaceholder: "输入要朗读的文本...",
  speed: "语速",
  voice: "音色",
  female: "女声",
  male: "男声",
  wordByWord: "逐词朗读",
  readText: "朗读文本",
  uploadFile: "上传文件",
  downloadAudio: "下载音频",
  selectLanguage: "选择语言",
  theme: "主题模式",
  light: "浅色",
  dark: "深色",
  system: "跟随系统",
  noTextError: "无文本可读",
  pleaseEnterText: "请先输入文本内容",
  error: "错误",
  speechError: "文本朗读时发生错误",
  downloadError: "音频下载失败",
  pdfNotSupported: "暂不支持PDF文件",
  wordNotSupported: "暂不支持Word文档",
  unsupportedFormat: "不支持的文件格式",
  uploadError: "文件上传失败",
  speechService: "语音服务",
  selectService: "选择服务提供商",
  serviceSettings: "服务设置",
  minimaxNotSupported: "Minimax暂不支持该语言，已自动切换至AWS Polly",
  voiceNotSupported: "不支持音色选择",
  on: "开启",
  off: "关闭",
  characters: "字符",
  landingTitle: "VoiceCanvas",
  startNow: "立即体验",
  tryForFree: "免费试用",
  feature1Title: "高品质语音",
  feature1Desc: "自然语调和韵律的清晰语音合成",
  feature2Title: "多语言支持",
  feature2Desc: "支持50+语言男女声，满足全球化内容需求",
  feature3Title: "高级功能",
  feature3Desc: "可调节语速、音频可视化及逐词朗读学习功能",
  ctaTitle: "立即使用我们的文本转语音工具",
  coreFeatures: "核心功能",
  howItWorks: "工作原理",
  testimonials: "用户评价",
  step1Title: "输入文本",
  step1Desc: "输入或上传需要转换的文本内容",
  step2Title: "参数设置",
  step2Desc: "选择语言、音色并调节语速",
  step3Title: "生成语音",
  step3Desc: "点击生成自然流畅的语音",
  testimonial1Name: "张伟",
  testimonial1Role: "语言学习者",
  testimonial1Content: "显著提升我的发音和听力水平，多语言支持非常出色！",
  testimonial2Name: "王丽",
  testimonial2Role: "内容创作者",
  testimonial2Content: "日常配音利器，操作简便效果专业",
  testimonial3Name: "陈老师",
  testimonial3Role: "教育工作者",
  testimonial3Content: "制作教学材料的最佳工具，学生反馈极佳",
  testimonial4Name: "李总",
  testimonial4Role: "企业管理者",
  testimonial4Content: "革新国际通讯方式，音质与语言支持超乎预期",
  login: "登录",
  register: "注册",
  continueWith: "通过{provider}继续",
  orContinueWith: "或继续使用",
  orLoginWith: "或使用登录",
  orRegisterWith: "或使用注册",
  githubLogin: "通过GitHub继续",
  googleLogin: "通过Google继续",
  dividerText: "或",
  aiPowered: "AI驱动",
  languagesSupported: "50+种语言",
  copyright: "© {year} VoiceCanvas 版权所有",
  footerSlogan: "用心打造更优质的语音体验",
  loginDescription: "登录账号以使用更多功能",
  registerDescription: "创建新账号开始使用服务",
  passwordMismatch: "密码不一致",
  back: "返回",
  profile: "个人资料",
  settings: "设置",
  basicInfo: "基本信息",
  username: "用户名",
  email: "电子邮箱",
  registrationTime: "注册时间",
  loginMethod: "登录方式",
  notSet: "未设置",
  emailPassword: "邮箱密码登录",
  logout: "退出登录",
  loginRequired: "需要登录",
  loginToUseFeature: "请登录使用此功能，立即体验更多精彩！",
  password: "密码",
  confirmPassword: "确认密码",
  loading: "加载中...",
  loginSuccess: "登录成功",
  registerSuccess: "注册成功",
  welcomeBack: "欢迎回来！",
  authError: "认证失败，请重试",
  registerError: "注册失败，请重试",
  noAccount: "没有账号？立即注册",
  haveAccount: "已有账号？立即登录",
  chinese: "中文",
  english: "英语",
  japanese: "日语",
  korean: "韩语",
  spanish: "西班牙语",
  french: "法语",
  russian: "俄语",
  italian: "意大利语",
  portuguese: "葡萄牙语",
  german: "德语",
  indonesian: "印尼语",
  arabic: "阿拉伯语",
  cantonese: "粤语",
  danish: "丹麦语",
  dutch: "荷兰语",
  finnish: "芬兰语",
  greek: "希腊语",
  hebrew: "希伯来语",
  hindi: "印地语",
  hungarian: "匈牙利语",
  norwegian: "挪威语",
  polish: "波兰语",
  romanian: "罗马尼亚语",
  swedish: "瑞典语",
  turkish: "土耳其语",
  welsh: "威尔士语",
  vietnamese: "越南语",
  ukrainian: "乌克兰语",
  catalan: "加泰罗尼亚语",
  czech: "捷克语",
  britishEnglish: "英式英语",
  australianEnglish: "澳式英语",
  mexicanSpanish: "墨西哥西班牙语",
  usSpanish: "美式西班牙语",
  canadianFrench: "加拿大法语",
  belgianFrench: "比利时法语",
  brazilianPortuguese: "巴西葡萄牙语",
  austrianGerman: "奥地利德语",
  swissGerman: "瑞士德语",
  uaeArabic: "阿联酋阿拉伯语",
  belgianDutch: "比利时荷兰语",
  indianEnglish: "印度英语",
  welshEnglish: "威尔士英语",
  irishEnglish: "爱尔兰英语",
  newZealandEnglish: "新西兰英语",
  southAfricanEnglish: "南非英语",
  icelandic: "冰岛语",
  scottishEnglish: "苏格兰英语",
  singaporeanEnglish: "新加坡英语",
  afrikaans: "南非语",
  bulgarian: "保加利亚语",
  croatian: "克罗地亚语",
  lithuanian: "立陶宛语",
  latvian: "拉脱维亚语",
  macedonian: "马其顿语",
  malay: "马来语",
  serbian: "塞尔维亚语",
  slovak: "斯洛伐克语",
  slovenian: "斯洛文尼亚语",
  swahili: "斯瓦希里语",
  tamil: "泰米尔语",
  thai: "泰语",
  urdu: "乌尔都语",
  traditionalChinese: "繁体中文",
  saudiArabic: "沙特阿拉伯语",
  
  // 定价页面
  pricingTitle: "透明定价方案",
  pricingSubtitle: "灵活选择最适合您的套餐",
  mostPopular: "热门选择",
  bestValue: "超值优选",
  free: "免费版",
  perYear: "/年",
  perMonth: "/月",
  
  // 套餐类型
  trialPlan: "体验版",
  trialDesc: "基础功能体验",
  yearlyPlan: "年度计划",
  yearlyDesc: "高频用户优选，性价比最高",
  monthlyPlan: "月度计划",
  monthlyDesc: "个人及小型项目适用",
  noPlan: "未订阅套餐",
  
  // 订阅管理
  subscription: "订阅状态",
  currentPlan: "当前套餐",
  planStatus: "套餐状态",
  expiryDate: "到期时间",
  active: "有效中",
  inactive: "已失效",
  
  // 字符额度
  characterQuota: "字符额度",
  totalQuota: "总配额",
  usedQuota: "已使用",
  remainingQuota: "剩余额度",
  lastUpdated: "最后更新",
  noQuota: "无限制",
  permanentQuota: "永久额度",
  temporaryQuota: "临时额度",
  permanentValid: "永久有效",
  quotaExpiryTime: "到期时间：{date}",
  
  // 支付状态
  paymentSuccess: "支付成功",
  refreshingData: "正在刷新数据...",
  subscriptionSuccess: "订阅成功",
  subscriptionUpdated: "套餐已更新，正在同步数据...",
  purchaseSuccess: "购买成功",
  quotaUpdated: "字符额度已更新，正在同步数据...",
  
  // 功能特性
  freeChars: "免费{amount}字符",
  trialPeriod: "{days}天试用期",
  yearlyQuota: "每年{amount}字符",
  monthlyQuota: "每月{amount}字符",
  languageSupport: "支持50+种语言",
  basicSpeedControl: "基础语速调节",
  basicVoiceSelection: "基础音色选择",
  textInputOnly: "仅文本输入",
  standardSupport: "标准支持",
  fullSpeedControl: "完整语速控制",
  allVoices: "全部音色开放",
  wordByWordReading: "逐词朗读",
  fileUpload: "支持文件上传",
  audioVisualization: "音频可视化",
  advancedAudioEdit: "高级音频编辑",
  prioritySupport: "优先支持",
  support247: "7×24小时专属支持",
  earlyAccess: "新功能抢先体验",
  
  // 操作按钮
  startTrial: "开始试用",
  chooseYearly: "选择年付",
  chooseMonthly: "选择月付",
  buyNow: "立即购买",
  
  // 按需计费
  payAsYouGo: "按需计费",
  tenThousandChars: "10万字",
  millionChars: "100万字",
  threeMillionChars: "300万字",
  
  // 常见问题
  faq: "常见问题",
  faqTrialFeatures: "体验版包含哪些功能？",
  faqTrialFeaturesAnswer: "体验版提供7天试用期，包含10,000字符额度，支持50+种语言的基础功能体验，可通过文本输入体验核心功能。",
  faqHowToTry: "如何开始体验？",
  faqHowToTryAnswer: "注册账号即可立即体验，无需绑定支付方式。试用期间可随时升级套餐获取更多功能。",
  faqQuotaCalc: "字符额度如何计算？",
  faqQuotaCalcAnswer: "根据实际输入的字符数统计（含空格及标点符号）。",
  faqPayment: "支持哪些支付方式？",
  faqPaymentAnswer: "支持信用卡、微信支付、支付宝等多种方式，全部支付通道均采用加密传输。",
  faqQuotaType: "购买额度与订阅额度的区别？",
  faqQuotaTypeAnswer: "单独购买的字符额度永久有效，订阅赠送额度随套餐有效期终止。建议根据使用需求选择。",
  
  // 系统提示
  operationSuccess: "操作成功",
  operationFailed: "操作失败",
  pleaseWait: "请稍候...",
  processingRequest: "请求处理中...",
  
  // 语音合成
  textTooLong: "文本长度超限",
  textLengthLimit: "当前服务商支持上限{limit}字符",
  quotaInsufficient: "字符额度不足",
  quotaRemaining: "剩余额度：{count}字符",
  synthesizing: "语音生成中...",
  downloadingAudio: "音频下载中...",

  // 新增提示
  serviceProviderCharacterLimit: "当前服务商限制{limit}字符",
  textTruncatedDueToLimit: "文本已截断至最大支持长度",
  insufficientCharacterQuota: "字符额度不足，请购买或升级套餐",
  quotaCheckUnavailable: "额度查询服务暂不可用，请稍后再试",
  
  // 文件操作
  uploadingFile: "文件上传中...",
  fileFormatError: "不支持的格式类型",
  fileSizeLimit: "文件大小超限",
  fileUploadSuccess: "文件上传成功",
  fileUploadFailed: "文件上传失败",
  
  // 用户会话
  sessionExpired: "会话过期，请重新登录",
  unauthorized: "未经授权的访问",
  
  // 额度管理
  quotaUpdateFailed: "额度更新失败",
  checkingQuota: "正在查询额度...",
  
  // 订阅状态
  subscriptionRequired: "需要订阅套餐",
  subscriptionExpired: "订阅已过期",
  subscriptionActive: "订阅有效中",
  subscriptionUpdateSuccess: "订阅更新成功",
  subscriptionUpdateFailed: "订阅更新失败",
  
  // 支付流程
  processingPayment: "支付处理中...",
  paymentFailed: "支付失败",
  paymentCanceled: "支付已取消",
  
  // 错误提示
  networkError: "网络异常，请检查连接",
  serverError: "服务器错误，请稍后重试",
  unknownError: "发生未知错误",
  tryAgainLater: "请稍后再试",
  
  // 确认提示
  confirmLogout: "确认退出登录？",
  confirmCancel: "确认取消操作？",
  confirmDelete: "确认删除？",
  yes: "确定",
  no: "取消",
  confirm: "确认",
  cancel: "取消",
  
  // 加载状态
  saving: "保存中...",
  updating: "更新中...",
  deleting: "删除中...",
  processing: "处理中...",
  home: "首页",
  workspace: "工作区",
  pricing: "定价",
  noAvailableVoice: "当前语言无可选音色",
  selectVoiceFirst: "请先选择音色",
  notice: "系统通知",
  quotaCheckFailed: "额度获取失败，继续语音合成",
  quotaCheckError: "额度检查错误，继续执行操作",
  updateQuotaFailed: "使用统计更新失败",
  updateQuotaError: "字符使用量更新错误",
  speechSynthesisError: "语音合成错误",

    // Voice Related
    noAvailableVoices: "无可用语音",
    clonedVoices: "我的克隆语音",
    clonedVoice: "克隆语音",
    systemVoices: "系统语音",
    systemVoice: "系统语音",
  
    // Profile page
    notSubscribed: "未订阅",
    notActivated: "未激活",
    cloneQuota: "克隆配额",
    totalClones: "总克隆次数",
    usedClones: "已用克隆次数",
    remainingClones: "剩余克隆次数",
    clonePackagePurchaseSuccess: "克隆套餐购买成功",
    updatingCloneCount: "正在更新克隆次数...",
    times: "次",
  
    // Clone Packages
    clonePackagesTitle: "语音克隆套餐",
    clonePackagesSubtitle: "选择适合您的克隆套餐，一次性购买永久有效",
    clonePackageBasic: "基础克隆套餐",
    clonePackageBasicDesc: "适合个人体验",
    clonePackageAdvanced: "高级克隆套餐",
    clonePackageAdvancedDesc: "适合小型团队",
    clonePackagePro: "专业克隆套餐",
    clonePackageProDesc: "适合专业用户及团队",
    cloneFeature1Times: "{count}次语音克隆",
    cloneFeatureValidForever: "永久有效",
    cloneFeatureMultiLanguage: "支持中文、英文、日文、韩文等多语言",
    cloneFeatureCustomization: "支持个性化定制",
    cloneFeatureStandardSupport: "标准客户支持",
    cloneFeaturePrioritySupport: "优先客户支持",
  
    // Clone Voice FAQ
    faqCloneVoice: "语音克隆如何运作及注意事项？",
    faqCloneVoiceAnswer: "语音克隆利用AI技术创建您声音的数字副本。为获得最佳效果：1) 使用优质麦克风在安静环境中录制至少1分钟清晰语音 2) 克隆次数永久有效不过期 3) 成功克隆后，可支持多语言的文本转语音 4) 克隆质量主要取决于录音质量 5) 适用于内容创作、配音或个人使用",
  
    // Voice Cloning Page
    voiceCloning: "声音克隆",
    uploadAudio: "上传音频",
    record: "录制",
    stopRecording: "停止录制",
    startCloning: "开始克隆",
    cloning: "克隆中...",
    voiceId: "语音ID：",
    clear: "清空",
    instructions: "操作说明",
    audioFileSelected: "已选择音频文件",
    fileSelected: "已选：{filename}（{size}MB）",
    recordingComplete: "录制完成",
    recordingSaved: "录音已保存：{filename}（{size}MB）",
    startRecordingTitle: "开始录音",
    startRecordingDesc: "请开始说话...",
    microphoneAccessError: "无法访问麦克风",
    audioUploadRequirements: "请上传音频文件（支持mp3、m4a、wav格式，大小20MB以内，时长10秒-5分钟）",
    fileSizeExceeded: "文件大小超出限制，请上传小于20MB的文件（当前大小：{size}MB）",
    audioDurationError: "无法读取音频时长",
    minDurationError: "音频时长不能短于10秒",
    maxDurationError: "音频时长不能超过5分钟",
    audioFileSelectedTitle: "音频文件已选择",
    audioFileSelectedDesc: "已选文件：{filename}（{size}MB，时长：{duration}秒）",
    fetchCloneVoicesError: "获取克隆语音列表失败",
    deleteCloneVoiceError: "删除克隆语音失败",
    deleteSuccess: "删除成功",
    cloneVoiceDeleted: "克隆语音已删除",
    uploadAudioFirst: "请先上传或录制音频",
    loginForCloning: "请先登录再进行克隆",
    fetchUserDataError: "获取用户数据失败",
    insufficientCloneCredits: "克隆次数不足",
    buyMoreCredits: "您的克隆次数已用尽，请购买更多次数",
    startCloningTitle: "开始克隆",
    startCloningDesc: "正在处理音频文件，请稍候...",
    cloneVoiceFailed: "语音克隆失败",
    invalidVoiceId: "未收到有效语音ID",
    cloneSuccess: "克隆成功",
    cloneReadyToUse: "语音已成功克隆并可使用",
    clearClonedVoice: "已清空克隆语音",
  
    // Instructions
    instruction1: "1. 上传清晰的人声录音（支持mp3、m4a、wav格式）",
    instruction2: "2. 推荐音频时长：10秒-5分钟",
    instruction3: "3. 内容应为文本朗读，避免环境噪音",
    instruction4: "4. 文件大小不超过20MB",
    instruction5: "5. 克隆完成后将获得语音ID",
    instruction6: "6. 使用语音ID可为任意文本生成克隆语音",
    legalNotice: "法律声明：请确保您对上传音频拥有合法使用权。禁止未经授权的语音克隆。克隆语音仅限个人非商业用途，请遵守相关法律法规。",
  
    // Cloned Voices API
    saveCloneVoiceError: "保存克隆语音失败",
    defaultClonedVoiceName: "克隆语音 {date}",
  
    // Voice Clone API Messages
    minimaxConfigError: "请先配置MINIMAX_API_KEY和MINIMAX_GROUP_ID环境变量",
    fileUploadError: "文件上传失败：{status} - {error}",
    fileIdError: "文件上传失败：未收到file_id",
    receivedFile: "已接收文件",
    startingFileUpload: "开始上传音频文件...",
    fileUploadSuccesss: "音频文件上传成功，file_id",
    startingVoiceClone: "开始语音克隆...",
    voiceCloneError: "语音克隆失败：{status} - {error}",
    cloneResult: "克隆结果",
    cloneCountUpdateSuccess: "克隆次数更新成功",
    clonedVoiceSaved: "克隆语音已保存至数据库",
    cloneError: "克隆错误",
    stripeLoadError: "支付系统加载失败",
    checkoutError: "创建支付会话失败",
    invalidSessionId: "无效的支付会话",
    save: "节省",

    // 首页声音克隆相关
    landingSubtitle: "50余种语言即时文本转语音，支持声音克隆，基于先进AI技术实现清晰自然的语音合成。",
    feature4Title: "声音克隆",
    feature4Desc: "个性化声音克隆，让AI说话更有温度",
    
    // 声音克隆工作原理
    voiceCloningHowItWorks: "声音克隆工作原理",
    voiceCloneStep1Title: "上传语音",
    voiceCloneStep1Desc: "上传3-10秒的清晰语音样本",
    voiceCloneStep2Title: "AI分析",
    voiceCloneStep2Desc: "AI技术提取声音特征并建模",
    voiceCloneStep3Title: "克隆完成",
    voiceCloneStep3Desc: "生成个性化AI声音模型",
    voiceCloneStep4Title: "输入文本",
    voiceCloneStep4Desc: "输入需要转换的文本内容",
    voiceCloneStep5Title: "调用模型",
    voiceCloneStep5Desc: "使用克隆的AI声音模型",
    voiceCloneStep6Title: "生成语音",
    voiceCloneStep6Desc: "输出自然流畅的克隆语音",

    // 新增用户评价
    testimonial5Name: "李先生",
    testimonial5Role: "内容创作者",
    testimonial5Content: "这个工具显著提高了我的内容制作效率，尤其是在处理多语言内容时。",
    testimonial6Name: "杨女士",
    testimonial6Role: "播客主持人",
    testimonial6Content: "声音克隆功能太神奇了！只需要几秒钟的语音样本，就能完美复制我的声音，让我轻松制作多语言版本的播客。",
    testimonial7Name: "柯先生",
    testimonial7Role: "配音演员",
    testimonial7Content: "作为一名配音演员，我对声音质量要求很高。这个平台的声音克隆质量令人印象深刻，能够保留原声音的情感和特点。",
    testimonial8Name: "黄女士",
    testimonial8Role: "教育工作者",
    testimonial8Content: "在这个平台克隆我的声音后，我可以预先录制课程内容，让学生随时听到我的讲解，大大提升了教学效果。"
} as const;